Problem Note 35066: When a bulk-loading process fails with "SQL*Loader 2026" error, error message appears as a warning in the SAS® log
If a bulk-loading process fails when you use SAS with SAS/ACCESS® Interface to Oracle, Oracle issues the following error:
SQL*Loader-2026: The load was aborted because SQL Loader cannot continue.
Oracle sends a return code that is picked up by SAS. Instead of returning an error message in the SAS log, the SQLLDR option returns the following warning message:
WARNING: 'All or some rows were rejected/discarded!'
To ensure that SAS returns warnings as errors, you need to make sure that the following SQLLDR option is set to YES:
bl_return_warnings_as_errors=yes
When the option is set to NO (the default value), all SQLLDR warnings are returned as warnings. However, when the option is set to YES, all SQLLDR warnings are returned as errors (SYSERR will reflect this).
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Oracle | Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
If a bulk-loading process fails when you use SAS with SAS/ACCESS® Interface to Oracle, you will receive the warning: "WARNING: All or some rows were rejected/discarded.: The actual error is "SQL*Loader-2026: The load was aborted because SQL Loader cannot continue".
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Data Sources ==> External Databases ==> Oracle
|
Date Modified: | 2020-05-07 16:15:19 |
Date Created: | 2009-03-07 18:19:50 |